<template>
  <!-- 公司地图 -->
  <div class="map" ref="map">
    <BaseIframe
        hostUrl="https://dashboard.cscecxn.com:8443/"
        preToken="?code"
        :height='baseIframeHight'
        class="BaseIframe"
        src="bigscreenv3/viewer/44c1eb60-2e14-5768-ae87-3da6dbb22f09"
      />
  </div>
</template>

<script>
import BaseIframe from '@/components/BaseIframe'

export default {
  components: {
    BaseIframe
  },
  data() {
    return {
      baseIframeHight:null,
    }
  },
  mounted() {
    this.baseIframeHight = this.$refs.map.offsetHeight + 'px';
  },
  methods: {}
}
</script>
<style lang="less" scoped>
.map{
  height:100%;
}
</style>
